package exceptions;

import wheel.KeyWheel;
import algorithms.Key;

public class InitializationExternalKeyException extends RuntimeException {

    private static final long serialVersionUID = -8276241862472925614L;
    
    private KeyWheel keyWheel;
    private Key key;
    
    public InitializationExternalKeyException(KeyWheel keyWheel,Key key){
	this.keyWheel = keyWheel;
	this.key = key;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	return "InitializationExternalKeyException:"  + keyWheel +" does not contain "+ key;
    }
    
    
}
